package cn.hiapi.core.basic.query;

import lombok.Getter;
import lombok.Setter;

/**
 * @author AdinZ
 * @date 2021/5/30 9:35 下午
 */
@Getter
@Setter
public abstract class BasicMerchantQuery extends BasicQuery {
    /**
     * 商户id ,
     */
    protected Long mid;
    @Override
    public QueryWrapper getBasicQueryWrapper(){
        QueryWrapper wrapper = new QueryWrapper();
        if(this.mid!=null)
            wrapper.eq("mid", this.mid);
        return wrapper;
    }

}
